home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 119
/
(Vol 119) Nov 09 2010.iso
/
TGKI-109
/
Games
/
need_for_speed_challenge.swf
/
scripts
/
DefineButton2_167
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2010-11-09
|
768b
|
21 lines
on(release){
if(emailPrompt == "ENTER EMAIL ADDRESS" or friend != "")
{
if(0 < topTen.name_in.length)
{
_root.loadVariables("send2friend.php?name=" + topTen.name_in + "&email=" + friend + "&from=" + topTen.email_in + "&score=" + _root.timeInit.raceTime,0);
}
else if(0 < topHundred.name_in.length)
{
_root.loadVariables("send2friend.php?name=" + topHundred.name_in + "&email=" + friend + "&from=" + topHundred.email_in + "&score=" + _root.timeInit.raceTime,0);
}
else
{
_root.loadVariables("send2friend_default.php?email=" + friend,0);
emailPrompt = "CHALLENGE HAS BEEN SENT";
}
friend = "";
emailPrompt = "CHALLENGE HAS BEEN SENT";
}
}